package com.hx.demo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hx.demo.domain.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper extends BaseMapper<User> {


    /**
     * 根据条件-分页，进行查询
     * @param page
     * @param user
     * @return
     */
    Page<User> selectUserListByPage(@Param("page") Page<User> page, @Param("user") User user);


}
